﻿<Window x:Class="memoUI.ContentWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:memoUI"
        mc:Ignorable="d"
        Title="Memorizer" WindowState="Maximized" WindowStyle="None" Icon="Images/DesktopLogo.png" d:DesignWidth="796.718" d:DesignHeight="576.972">
    <Grid Margin="5,5">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*" />
            <ColumnDefinition Width="4*" />
            <ColumnDefinition Width="1*" />
        </Grid.ColumnDefinitions>

        <Grid x:Name="ContentNavigationPanel" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="#90C226" Margin="0,0,10,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*" />
                <ColumnDefinition Width="2*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="50"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="50"/>
            </Grid.RowDefinitions>
            <TextBlock x:Name="TopicAndSubTopicNameTextBlock" Text="ContentPath" TextAlignment="Center"  VerticalAlignment="Center" HorizontalAlignment="Stretch" Grid.ColumnSpan="2" Grid.Column="0" Grid.Row="0" FontWeight="Bold" Foreground="White"/>
            <Grid x:Name="ContentSelectorGrid" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,0,0,0" Grid.ColumnSpan="2" Grid.Row="1">
                <ScrollViewer HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.ColumnSpan="2">
                    <StackPanel x:Name="ContentList" Background="#E7FCC4">

                    </StackPanel>
                </ScrollViewer>
            </Grid>
            <Button x:Name="MenuButton" Content="Menu" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,5,2,5" Grid.Column="0" Grid.Row="2" Click="MenuButton_Click" Foreground="White" FontWeight="Bold" FontSize="16" BorderBrush="#FF3B0808" BorderThickness="2" Cursor="Hand" Background="Orange"/>
            <Button x:Name="KnowledgeTestButton" Content="Knowledge Test" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="2,5,5,5" Grid.Column="1" Grid.Row="2" Click="KnowledgeTestButton_Click" Foreground="White" FontWeight="Bold" FontSize="16" BorderBrush="#FF2326A6" BorderThickness="2" Cursor="Hand" Background="Teal"/>
        </Grid>

        <Grid x:Name="ContentViewGrid" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="#90C226">
            <Grid.RowDefinitions>
                <RowDefinition Height="50" />
                <RowDefinition Height="*" />
                <RowDefinition Height="50" />
            </Grid.RowDefinitions>

            <TextBlock x:Name="ContentNameTextBlock" Text="ContentName" FontSize="20" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Top"  TextWrapping="Wrap"  TextAlignment="Center" Margin="-10,10,9.6,418.8" Grid.RowSpan="2" FontWeight="Bold" Foreground="White"/>

            <TextBox x:Name="ContentTextBox" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TextWrapping="Wrap" Text="" VerticalScrollBarVisibility="Visible"/>

            <Grid Grid.Row="2" Background="#90C226">
                <Button x:Name="DeleteButton" Content="Delete" HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="100" Margin="5,5" Click="DeleteButton_Click" Foreground="White" FontWeight="Bold" FontSize="16" BorderBrush="#FF2326A6" BorderThickness="2" Cursor="Hand" Background="#83B330"/>
                <Button x:Name="EditButton" Content="Edit" HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="100" Margin="110,5,5,5" Click="EditButton_Click" Foreground="White" FontWeight="Bold" FontSize="16" BorderBrush="#FF2326A6" BorderThickness="2" Cursor="Hand" Background="#83B330"/>
                <Button x:Name="NewButton" Content="New" HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="100" Margin="215,5,5,5" Click="NewButton_Click" Foreground="White" FontWeight="Bold" FontSize="16" BorderBrush="#FF2326A6" BorderThickness="2" Cursor="Hand" Background="#83B330"/>

                <Button x:Name="NextButton" Content="Next" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Stretch" Width="100" Margin="5,5,5,5" Click="NextButton_Click"  Foreground="White" FontWeight="Bold" FontSize="16" BorderBrush="#FF2326A6" BorderThickness="2" Cursor="Hand" Background="#83B330"/>
                <Button x:Name="PreviousButton" Content="Previous" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Stretch" Width="100" Margin="5,5,110,5" Click="PreviousButton_Click"  Foreground="White" FontWeight="Bold" FontSize="16" BorderBrush="#FF2326A6" BorderThickness="2" Cursor="Hand" Background="#83B330"/>
            </Grid>
        </Grid>

        <Grid x:Name="ContentImageNavigationPanel" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="#90C226" Margin="10,0,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="50"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="50"/>
            </Grid.RowDefinitions>
            <TextBlock x:Name="ContentImagesNavigationPanelTextBox" Text="Images" TextAlignment="Center" FontSize="20" VerticalAlignment="Center" HorizontalAlignment="Stretch" Grid.ColumnSpan="2" Grid.Column="0" Grid.Row="0" FontWeight="Bold" Foreground="White"/>
            <Grid x:Name="ImagesGrid" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,0,0,0" Grid.ColumnSpan="2" Grid.Row="1">
                <ScrollViewer HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.ColumnSpan="2">
                    <StackPanel x:Name="ImagesList" Background="#E7FCC4">

                    </StackPanel>
                </ScrollViewer>
            </Grid>
            <Button x:Name="AddImageButton" Content="Add" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,5,5,5" Click="AddImageButton_Click" Foreground="White" FontWeight="Bold" FontSize="16" BorderBrush="#FF2326A6" BorderThickness="2" Cursor="Hand" Background="#83B330" Grid.Row="2"/>
            <Button x:Name="RemoveImageButton" Content="Remove" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,5,5,5" Click="RemoveImageButton_Click" Foreground="White" FontWeight="Bold" FontSize="16" BorderBrush="#FF2326A6" BorderThickness="2" Cursor="Hand" Background="#83B330" Grid.Row="2" Grid.Column="1"/>
        </Grid>
    </Grid>
</Window>
